<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:rich="http://richfaces.org/rich">

    <!--
    JBoss, Home of Professional Open Source
    Copyright 2010-2012, Red Hat, Inc. and individual contributors
    by the @authors tag. See the copyright.txt in the distribution for a
    full listing of individual contributors.
    
    This is free software; you can redistribute it and/or modify it
    under the terms of the GNU Lesser General Public License as
    published by the Free Software Foundation; either version 2.1 of
    the License, or (at your option) any later version.

    This software is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
    Lesser General Public License for more details.

    You should have received a copy of the GNU Lesser General Public
    License along with this software; if not, write to the Free
    Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
    02110-1301 USA, or see the FSF site: http://www.fsf.org.
    -->
    
    <h:head>
        <title><ui:insert name="title">Default title</ui:insert></title>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!--         <f:loadBundle basename="org.richfaces.examples.richrates.messages" var="msgs" /> -->
        <h:outputScript name="jsf.js" library="javax.faces" />
        		<link rel="stylesheet" type="text/css" href="#{request.contextPath}/css/common.css"/>
        <!-- dropdownmenu.ecss not loaded automatically (RF-11958) -->
<!--         <h:outputStylesheet library="org.richfaces" name="dropdownmenu.ecss"/> -->
<!--         <link rel="shortcut icon" href="#{request.contextPath}/resources/images/favicon.ico" /> -->
       
        <ui:insert name="head" />
    </h:head>

    <h:body>
        <div id="wrap">
            <div id="header"><ui:insert name="header">
                    <h:panelGroup>
                        <table style="width: 100%">
                            <tbody>
                                <tr>
                                    <td class="app-title">
                                        <a id="headerLink" href="#{facesContext.externalContext.requestContextPath}">
                                            <span>SIGEPI</span>
                                        </a>
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="2">
                                        <h:form id="menuForm">
                                            <rich:toolbar id="menuBar" itemSeparator="disc" style="width: 100%;">
                                                <rich:menuItem id="index" action="calculator?faces-redirect=true" label="Home" />
                                                <rich:menuItem id="table" action="table?faces-redirect=true" label="Consulta Proyectos" />
                                                <rich:menuItem id="chart" action="chart?faces-redirect=true" label="Reportes" />
                                                <rich:menuItem id="admin" action="chart?faces-redirect=true" label="Administracion" />
                                                <rich:menuItem id="login" label="Login" />
                                            </rich:toolbar>
                                        </h:form>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </h:panelGroup>

                </ui:insert></div>

            <div id="main">
                <ui:insert name="main">Contenido</ui:insert>
            </div>
        </div>

        <div id="footer">
            <ui:insert name="footer">
                <hr/>
                <div class="text-footer">
                
                   Release by Pedes group for Proyecto Integrador UdeA
                   
                </div>
            </ui:insert>
        </div>

    </h:body>

</html>
